home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / Expand.lha / Expand / Expand.man < prev    next >
Encoding:
Text File  |  1992-05-14  |  1.5 KB  |  29 lines

  1. EXPAND(1)           UNIX Programmer's Manual            EXPAND(1)
  2.                                  
  3. NAME                                                             
  4.      expand, unexpand - expand tabs to spaces, and vice versa    
  5.                                  
  6. SYNOPSIS                                                         
  7.      expand [ -tabstop ] [ -tab1,tab2,...,tabn ] [ file ...  ]   
  8.      unexpand [ -a ] [ file ...  ]                               
  9.                                  
  10. DESCRIPTION                                                      
  11.      Expand processes the named files or the standard input writ-
  12.      ing the standard output with tabs changed into blanks.      
  13.      Backspace characters are preserved into the output and      
  14.      decrement the column count for tab calculations.  Expand is 
  15.      useful for pre-processing character files (before sorting,  
  16.      looking at specific columns, etc.) that contain tabs.       
  17.                                  
  18.      If a single tabstop argument is given, then tabs are set    
  19.      tabstop spaces apart instead of the default 8.  If multiple 
  20.      tabstops are given then the tabs are set at those specific  
  21.      columns.                                                    
  22.                                  
  23.      Unexpand puts tabs back into the data from the standard     
  24.      input or the named files and writes the result on the stan- 
  25.      dard output.  By default, only leading blanks and tabs are  
  26.      reconverted to maximal strings of tabs.  If the -a option is
  27.      given, then tabs are inserted whenever they would compress  
  28.      the resultant file by replacing two or more characters.
  29.